package com.example.demo05.mapper;

import com.example.demo05.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author anxuan
 * @since 2021-06-17
 */
@Repository
public interface UserMapper extends BaseMapper<User> {
     public User selectByLoginId(String loginId);

     public User selectByUserName(String userName);

     public List<User> getByIdentity(String identity);

     public List<User> getLikeLoginId(String loginId);

     public List<User> getAdminLikeLoginId(String loginId);

     public void delete(String loginId);

     public List<User> getNoClock();
}
